﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GDF_kaart_inlezen.strategy_classes
{
    class TimeDomain : ReadingStrategy
    {
        public TimeDomain()
        {
            recordCode = "45";
        }

        public override void Process(string record)
        {
            counter = 0;
            String fieldValue;

            if (record.Substring(0, 2) == recordCode) record = record.Substring(2);
            fieldValue = GetFieldValue("TIME_ID", ref record);
            //Implement processing
            fieldValue = GetFieldValue("DESC_ID", ref record);
            //ALWAYS BLANK, so no processing needed
            fieldValue = record.Trim();
            //Implement processing (TIME_DOM)
        }
    }
}
